package controllers

import (
	"github.com/gin-gonic/gin"
	"micro-bbs/helper"
	"micro-bbs/libs"
	"net/http"
)

type ThirdController struct {
}

func NewThirdController() *ThirdController {
	return nil
}


//发送验证码邮箱
func (this *ThirdController) SendCode(c *gin.Context){
	helper.SendEmail()
	c.JSON(http.StatusOK, libs.ReturnJson(200,"", gin.H{
		"code": 123456,
	}))
}


